#ifndef DECLARATOR_LIST_INCLUDED
#define DECLARATOR_LIST_INCLUDED
#include <stdlib.h>
#include "tab_sym.h"

struct declarator_list{
  struct declarator * decl;
  struct declarator_list *next;
};

struct declarator{
  char id[100];
  int mode;
  int type;
  struct taille *taille;
  struct table_symbole* param_list;
};

struct taille{
  int taille;
  struct taille* next;
};


void ajouter_taille(struct taille *, int );
void declarator_list_ajouter(struct declarator_list*, struct declarator *);
void set_declarator_type(struct declarator *, int);
struct declarator_list* declarator_list_vide();
  void declarator_list_concat(struct declarator_list*, struct declarator_list*);
void declarator_ajouter_tab(struct declarator *, struct declarator_list*);
#endif
